/*
 * @Author: 肖思汗 
 * @Date: 2025-06-24 22:48:12 
 * @Last Modified by: 肖思汗
 * @Last Modified time: 2025-07-11 21:07:56
 */

.pageLayer {
    position: relative;
    background-color: #F2F2F2;
    font-size: 24rpx;
    min-height: 100vh;
    box-sizing: border-box;
    overflow-x: hidden;
    
    // 基本样式设置，padding值通过内联样式设置（因为包含变量）

    // 激活状态的样式类
    &.hasHeader {
        // 基础样式，具体值由CSS变量控制
    }

    &.hasTabBar {
        // 基础样式，具体值由CSS变量控制
    }
}

.customHeader {
    width: 100vw;
    box-sizing: border-box;
    text-align: center;
    background-color: #ffffff;
    position: fixed;
    top: 0rpx;
    left: 0rpx;
    z-index: 999;
    pointer-events: none;

    :global(.nut-navbar-left) {
        pointer-events: all;
    }

    .icon {
        width: 45rpx;
        height: 45rpx;
        margin: 15rpx;
        vertical-align: middle;
        border-radius: 50%;
        overflow: hidden;
    }

    .title {
        font-size: 36rpx;
        vertical-align: middle;
        color: #000000;
    }

    .navBar {
        background: none;
        margin-bottom: 0px;
    }
}

.customTabBar {
    position: fixed;
    bottom: 0rpx;
    left: 0rpx;
    width: 100vw;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16rpx);
    border-top-left-radius: 40rpx;
    border-top-right-radius: 40rpx;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 999;

    .header {
        display: block;
    }

    .body {
        display: flex;
        width: 100%;
        height: 100rpx;
        justify-content: space-around;

        .tab_item {
            position: relative;
            display: block;
            text-align: center;
            padding: 4rpx 40rpx;

            .tab_icon {
                width: 46rpx;
                height: 46rpx;
                display: inline-block;
                margin-top: 4rpx;
                position: relative;
            }

            .badge {
                position: absolute;
                top: 0rpx;
                right: 20rpx;
                width: 30rpx;
                height: 30rpx;
                background-color: #fd7901;
                border-radius: 50%;
                color: white;
                font-size: 20rpx;
                line-height: 28rpx;
            }

            &.active .tab_text {
                color: #fd7901;
            }

            .tab_text {
                font-size: 24rpx;
            }
        }
    }
}